<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title>4.v-pre</title>
    <!-- 引入Vue -->
    <script type="text/javascript" src="../../vue.js"></script>
  </head>
  <body>
    <!-- 准备好一个容器-->
    <div id="demo">
      <div v-pre>
        <h1>如何一夜暴富？—— 跟着晶晶就行</h1>
        <h2>如何学前端？—— 来尚硅谷学</h2>
        <h3>我好饿呀</h3>
        <p>
          <span>前端</span>
          <span>Java</span>
          <span>大数据</span>
          <span>嵌入式</span>
          <span>鸿蒙</span>
          <span>.......</span>
        </p>
        <div>
          <em>atguigu</em>
        </div>
      </div>
      <h6 v-pre>{{school}}</h6>
    </div>

    <script type="text/javascript">
      new Vue({
        el:'#demo',
        data:{
          school:'尚硅谷'
        }
      })
    </script>
  </body>
</html>